package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "customer_affiliate")
public class CustomerAffiliate {
    @Id
    @Column(name = "customer_id")
    private Integer customerId;

    private String company;

    private String website;

    private String tracking;

    private BigDecimal commission;

    private String tax;

    private String payment;

    private String cheque;

    private String paypal;

    @Column(name = "bank_name")
    private String bankName;

    @Column(name = "bank_branch_number")
    private String bankBranchNumber;

    @Column(name = "bank_swift_code")
    private String bankSwiftCode;

    @Column(name = "bank_account_name")
    private String bankAccountName;

    @Column(name = "bank_account_number")
    private String bankAccountNumber;

    private Boolean status;

    @Column(name = "date_added")
    private Date dateAdded;

    @Column(name = "custom_field")
    private String customField;
}